package com.njitzx.service;

import com.njitzx.entity.PageMemberVO;
import com.njitzx.entity.po.Member;
import com.github.pagehelper.PageInfo;
import com.njitzx.entity.vo.MemberVO;
import com.njitzx.entity.vo.SpMemberVO;
import org.apache.poi.ss.usermodel.Workbook;

import java.io.*;
import java.util.List;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author 周鑫
 * @since 2024-08-20
 */
public interface MemberService {
    PageMemberVO findPage(Integer pageNum, Integer pageSize, Member member);

    MemberVO findById(Serializable id);

    void add(Member member);

    void modify(Member member);

    void removeById(Integer id);

    void removeByIds(List<Integer> ids);

    void importFile(InputStream inputStream) throws IOException;

    Workbook export(Integer pageNum, Integer pageSize, Member member);
}
